﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AAA.Schedule
{
    public interface ITask
    {        
        string TaskName { get; set; }
        TaskStatusEnum TaskStatus { get; set; }        
        TaskTypeEnum TaskType { get; set; }
        DateTime StartTime { get; set; }
        DateTime EndTime { get; set; }
        long Interval { get; set; }
        DateTime NextExecuteTime { get; set; }
        DateTime CompletedTime { get; set; }
        bool ExecuteAtStart { get; set; }
        IExecuteResult Execute(Dictionary<string, object> dicData);

    }
}
